package com.kingint.web.admin.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kingint.mbg.bas.entity.BasItemsLeft;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 遗留物品相关设置表 服务类
 * </p>
 *
 * @author wxh
 * @since 2020-12-22
 */
public interface BasItemsLeftService extends IService<BasItemsLeft> {

    /**
     * 添加遗留物品信息
     * @param basItemsLeft
     * @return
     */
    int insertItemsLeftInfo(BasItemsLeft basItemsLeft);

    /**
     * 修改遗留物品信息
     * @param basItemsLeft
     * @return
     */
    int updateItemsLeftInfo(BasItemsLeft basItemsLeft);

    /**
     * 删除遗留物品信息
     * @param id
     * @return
     */
    int deleteItemsLeftInfo(Integer id);

    /**
     * 分页查询遗留物品相关信息
     * @param basItemsLeft
     * @param pageNum
     * @param pageSize
     * @return
     */
    Object getItemsLeftList(BasItemsLeft basItemsLeft, Integer pageNum,Integer pageSize);

}
